<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CyberLinkObjc: CGUpnpService Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CyberLinkObjc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">CGUpnpService Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_c_g_upnp_service_8h_source.html">CGUpnpService.h</a>&gt;</code></p>

<p><a href="class_c_g_upnp_service-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a829255e6fa49142d1bea213e69c5463d"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a829255e6fa49142d1bea213e69c5463d">initWithCObject:</a></td></tr>
<tr class="memitem:a3278a41cf403c61f3bbafb12f236985a"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a3278a41cf403c61f3bbafb12f236985a">parseXMLDescription:</a></td></tr>
<tr class="memitem:a847ab60141c97c9ea5d24838e776b1ee"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a847ab60141c97c9ea5d24838e776b1ee">serviceId</a></td></tr>
<tr class="memitem:aecb7a1a1fea8ede53ba6f287c72eaa8c"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#aecb7a1a1fea8ede53ba6f287c72eaa8c">serviceType</a></td></tr>
<tr class="memitem:a9c261921fc4e896b650988f78162d683"><td class="memItemLeft" align="right" valign="top">(NSArray *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a9c261921fc4e896b650988f78162d683">actions</a></td></tr>
<tr class="memitem:ab322496ca0cd5d8cf577fa9abca89450"><td class="memItemLeft" align="right" valign="top">(NSArray *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#ab322496ca0cd5d8cf577fa9abca89450">stateVariables</a></td></tr>
<tr class="memitem:a549760c8cc9f1d6c042f0e100fa9c0bf"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_action.html">CGUpnpAction</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a549760c8cc9f1d6c042f0e100fa9c0bf">getActionForName:</a></td></tr>
<tr class="memitem:a7fa3b89f728050c534d7f9970a7002cd"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_state_variable.html">CGUpnpStateVariable</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#a7fa3b89f728050c534d7f9970a7002cd">getStateVariableForName:</a></td></tr>
<tr class="memitem:aecb173b092e8e6b9871d34addf2326ce"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_service.html#aecb173b092e8e6b9871d34addf2326ce">isStateVariableImpemented:</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a172cdfd30c178602737695cac7c1e087"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a172cdfd30c178602737695cac7c1e087"></a>
CgUpnpService *&#160;</td><td class="memItemRight" valign="bottom"><b>cObject</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> class is a wrapper class for CgUpnpService of CyberLink for C. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9c261921fc4e896b650988f78162d683"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSArray *) actions </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all actions in the service as a NSArray object. The array has the actions as instances of <a class="el" href="interface_c_g_upnp_action.html">CGUpnpAction</a>.</p>
<dl class="section return"><dt>Returns:</dt><dd>NSArray of <a class="el" href="interface_c_g_upnp_action.html">CGUpnpAction</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a549760c8cc9f1d6c042f0e100fa9c0bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_action.html">CGUpnpAction</a> *) getActionForName: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>name</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a action in the service by the specified name.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>A name string of the action.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The <a class="el" href="interface_c_g_upnp_action.html">CGUpnpAction</a> if the specified action is found; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a7fa3b89f728050c534d7f9970a7002cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_state_variable.html">CGUpnpStateVariable</a> *) getStateVariableForName: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>name</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a state variables in the service by the specified name.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>A name string of the state variable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The <a class="el" href="interface_c_g_upnp_state_variable.html">CGUpnpStateVariable</a> if the specified state variable is found; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a829255e6fa49142d1bea213e69c5463d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCObject: </td>
          <td></td>
          <td class="paramtype">(CgUpnpService *)&#160;</td>
          <td class="paramname"><em>cobj</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new UPnP service with the C instance.</p>
<dl class="section return"><dt>Returns:</dt><dd>New instance if successfull; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="aecb173b092e8e6b9871d34addf2326ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isStateVariableImpemented: </td>
          <td></td>
          <td class="paramtype">(NSString*)&#160;</td>
          <td class="paramname"><em>name</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Checks whether state variable is implemented</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>A name string of the state variable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>YES if implemented </dd></dl>

</div>
</div>
<a class="anchor" id="a3278a41cf403c61f3bbafb12f236985a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) parseXMLDescription: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>xmlDesc</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse the specified XML description.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if successfull; otherwise nui. </dd></dl>

</div>
</div>
<a class="anchor" id="a847ab60141c97c9ea5d24838e776b1ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) serviceId </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the service ID of the service.</p>
<dl class="section return"><dt>Returns:</dt><dd>The service ID. </dd></dl>

</div>
</div>
<a class="anchor" id="aecb7a1a1fea8ede53ba6f287c72eaa8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) serviceType </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the service type of the service.</p>
<dl class="section return"><dt>Returns:</dt><dd>The service type. </dd></dl>

</div>
</div>
<a class="anchor" id="ab322496ca0cd5d8cf577fa9abca89450"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSArray *) stateVariables </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all state variables in the service as a NSArray object. The array has the state variables as instances of <a class="el" href="interface_c_g_upnp_state_variable.html">CGUpnpStateVariable</a>.</p>
<dl class="section return"><dt>Returns:</dt><dd>NSArray of <a class="el" href="interface_c_g_upnp_state_variable.html">CGUpnpStateVariable</a>. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_c_g_upnp_service_8h_source.html">CGUpnpService.h</a></li>
<li>CGUpnpService.m</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 29 2012 07:45:45 for CyberLinkObjc by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
